<%@ page contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ include file="/common/init.jsp"%>
<style>
<!--
#listTable table,#listTable table td,#listTable table th{border:1px solid #000;border-collapse:collapse;} 
-->
</style>
<div class="EpmsMainTitle">
	<p>收件箱</p>
</div>
<div class="EpmsSubTitle"><p><b>查询列表</b></p>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="EpmsTable">
  <tr>
	  <td class=EpmsTdTitle width="550">主题</td>
	  <td class=EpmsTdTitle width="150">发布时间</td>
	  <td class=EpmsTdTitle width="100">发件人</td>
  </tr>
	<c:forEach var="msg" items="${page.result }">
		<tr>
		    <td class=EpmsTdNoColor width="550" align="center"><a href="${ctx}/msginfo.action?id=${msg.id}">${msg.title }</a></td>
		    <td class=EpmsTdNoColor width="150" align="center"><fmt:formatDate value="${msg.createDate}" pattern="yyyy-M-dd HH:mm:ss"/></td>
			<td class=EpmsTdNoColor width="100" align="center">${msg.sendId }</td>
		</tr>
	</c:forEach>
</table>

 <div id="listTable">
  <h5>收件箱</h5>
	  <table class="gridView" width="840" border="0" align="center" cellpadding="0" cellspacing="0">
	  	<thead>
		 <tr>
		  <th class=gridViewHeader width="550" class="vvd">主题</th>
		  <th class=gridViewHeader width="150" class="vvd">发布时间</th>
		  <th class=gridViewHeader width="100" class="">发件人</th>
		 </tr>
		</thead>
		<tbody>
		<c:forEach var="msg" items="${page.result }">
			<tr>
			    <td class=gridViewItem width="550" align="center" class="vv"><a href="${ctx}/msginfo.action?id=${msg.id}">${msg.title }</a></td>
			    <td class=gridViewItem width="150" align="center" class="vv"><fmt:formatDate value="${msg.createDate}" pattern="yyyy-M-dd HH:mm:ss"/></td>
				<td class=gridViewItem width="100" align="center" class="vv">${msg.sendId }</td>
			</tr>
		</c:forEach>
		</tbody>
	  </table>
	<%@ include file="/common/turnpage.jsp"%>
      </div>
